﻿@ModelType LoginViewModel

@Code
    Layout = Nothing
End Code

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>登録</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <div>
        <div class="row">
            <div class="col-md-8">
                <section id="loginForm">
                    @Using Html.BeginForm("Index", "Index", New With {.ReturnUrl = ViewBag.ReturnUrl}, FormMethod.Post, New With {.class = "form-horizontal", .role = "form"})
                        @Html.AntiForgeryToken()
                        @<text>
                            <h4>ローカル アカウントを使用してログインします。</h4>
                            <hr />
                            @Html.ValidationSummary(True, "", New With {.class = "text-danger"})
                            <div class="form-group">
                                @Html.LabelFor(Function(m) m.Email, New With {.class = "col-md-2 control-label"})
                                <div class="col-md-10">
                                    @Html.TextBoxFor(Function(m) m.Email, New With {.class = "form-control"})
                                    @Html.ValidationMessageFor(Function(m) m.Email, "", New With {.class = "text-danger"})
                                </div>
                            </div>
                            <div class="form-group">
                                @Html.LabelFor(Function(m) m.Password, New With {.class = "col-md-2 control-label"})
                                <div class="col-md-10">
                                    @Html.PasswordFor(Function(m) m.Password, New With {.class = "form-control"})
                                    @Html.ValidationMessageFor(Function(m) m.Password, "", New With {.class = "text-danger"})
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-md-offset-2 col-md-10">
                                    <div class="checkbox">
                                        @Html.CheckBoxFor(Function(m) m.RememberMe)
                                        @Html.LabelFor(Function(m) m.RememberMe)
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-md-offset-2 col-md-10">
                                    <input type="submit" value="ログイン" class="btn btn-default" />
                                </div>
                            </div>
                        </text>
                    End Using
                </section>
            </div>
            <div class="col-md-4">

            </div>
        </div>
    </div>
</body>
</html>
